/adodb/adodb.inc.php

Description
Classes
Class Description
ADOFieldObject Helper class for FetchFields -- holds info on a column
ADOConnection Connection object. For connecting to databases, and executing queries.
ADOFetchObj Internal placeholder for record objects. Used by ADORecordSet->FetchObj().
ADORecordSet_empty Lightweight recordset when there are no records to be returned
ADORecordSet RecordSet class that represents the dataset returned by the database.
ADORecordSet_array This class encapsulates the concept of a recordset created in memory as an array. This is useful for the creation of cached recordsets.
Constants
ADODB_BAD_RS = '<p>Bad $rs in %s. Connection or SQL invalid. Try using $connection->debug=true;</p>' (line 27)
ADODB_DIR = dirname(__FILE__) (line 44)

Set ADODB_DIR to the directory where this file resides...

This constant was formerly called $ADODB_RootPath

ADODB_FETCH_ASSOC = 2 (line 31)
ADODB_FETCH_BOTH = 3 (line 32)
ADODB_FETCH_DEFAULT = (line 29)
ADODB_FETCH_NUM = 1 (line 30)
ADODB_PREFETCH_ROWS = 10 (line 38)
ADODB_TABLE_REGEX = '([]0-9a-z_\.\@\[-]*)' (line 35)
MAX_BLOB_SIZE = 999999 (line 36)
_ADODB_LAYER = 1 (line 21)
  • version:

    V1.90 5 April 2002 (c) 2000-2002 John Lim (jlim@natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence.

    Set tabs to 4 for best viewing.

    Latest version is available at http://php.weblogs.com

    This is the main include file for ADODB. It has all the generic functionality of ADODB. Database specific drivers are stored in the adodb-*.inc.php files.

    Requires PHP4.01pl2 or later because it uses include_once

Functions
adodb_write_file (line 2218)

Save a file $filename and its $contents (normally for caching) with file locking

void adodb_write_file (mixed $filename, mixed $contents, [mixed $debug = false])
ADOLoadCode (line 2166)

Load the code for a specific database driver

void ADOLoadCode (mixed $dbType)
ADOLoadDB (line 2158)

Synonym for ADOLoadCode.

  • deprecated:
void ADOLoadDB (mixed $dbType)
ADONewConnection (line 2196)

Instantiate a new Connection class for a specific database driver.

  • return: freshly created instance of the Connection class.
the &ADONewConnection ([[db] $db = ''])
  • [db] $db: is the database Connection object to create. If undefined, use the last database driver that was loaded by ADOLoadCode().
NewADOConnection (line 2183)

synonym for ADONewConnection for people like me who cannot remember the correct name

void &NewADOConnection ([mixed $db = ''])

Documentation generated on Thu, 04 Sep 2008 16:14:45 +0400 by phpDocumentor 1.3.0RC3